package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 材料库存表
 * </p>
 *
 * @author ms
 * @since 2023-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_MTL_ACC")
@ApiModel(value="PcMtlAcc对象", description="材料库存表")
public class PcMtlAcc implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "仓库号")
    private String stockNo;

    @ApiModelProperty(value = "入库时间")
    private LocalDateTime recDate;

    @ApiModelProperty(value = "出库时间")
    private LocalDateTime traDate;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料名字")
    private String mtlName;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "入库总数")
    private BigDecimal inQty;

    @ApiModelProperty(value = "出库总数")
    private BigDecimal outQty;

    @ApiModelProperty(value = "库存余量")
    private BigDecimal stkQty;

    @ApiModelProperty(value = "库位")
    private String stkPosition;


}
